  

<div class="bjui-pageContent">
    <form action="${base}/admin/subjectEdit" id="form1" data-toggle="validate" data-alertmsg="false">
        <input type="hidden" name="id" value="${vo.id}" />
        <table class="table table-condensed table-hover">
            <tbody>                  <tr>
                    <td><label for="name" class="control-label x85">  名称：</label> 
                    <input type="text" name="name" id="name"
                     value="${vo.name!}"
                        data-rule="required" ></td>
                    <td>
                </tr>                   <tr>
                    <td><label for="parent" class="control-label x85">父：</label> 
                    <input type="text" name="parent" id="parent"
                     value="${vo.parent!}"
                        data-rule="required " ></td>
                    <td>
                </tr>                             <tr>
					<td><label for="provinceId" class="control-label x85">
							省：</label> <select name="provinceId" data-toggle="selectpicker"  data-rule="required" 
						data-nextselect="#cityId" data-width=150
						data-refurl="${base}/admin/regionsProvince?provinceId={value}&areaId=0">
						<option value="-1" selected="selected">--请选择省-</option>
							<#list regionsProvince as item>
							<option value="${item.value}"<#if
								vo.provinceId??&&vo.provinceId==item.value?number>
								selected</#if>>${item.lable}</option></#list>
					</select></td>
					<td>
				</tr>
				<tr>
					<td><label for="cityId" class="control-label x85"> 市：</label>
						<select id="cityId" name="cityId" data-toggle="selectpicker"
						data-nextselect="#areaId" data-width=150
						data-refurl="${base}/admin/regionsArea?cityId={value}">
						<option value="-1" selected="selected">--选择市-</option>
							<#list getRegionsCity as item>
							<option value="${item.value}"<#if
								vo.cityId??&&vo.cityId==item.value?number>
								selected</#if>>${item.label}</option></#list>
					</select></td>
					<td>
				</tr>
		<!-- 	<tr>
					<td><label for="areaId" class="control-label x85"> 区：</label>
						<select id="areaId" name="areaId" data-toggle="selectpicker"
						data-nextselect="#educationId" data-width=150
						data-refurl="${base}/admin/educationType?areaId={value}">
							<#list getRegionsArea as item>
							<option value="${item.value}"<#if
								vo.areaId??&&vo.areaId==item.value?number>
								selected</#if>>${item.label}</option></#list>
					</select></td>
					<td>
				</tr>-->	
          <tr> 
              <!--  <td><label for="educationId" class="control-label x85"> 学段：</label> 
                 <select id="educationId" name="educationId"
						data-toggle="selectpicker" 
						data-width=150
				>
							<#list getEducationType as item>
							<option value="${item.value}"<#if
								vo.educationId??&&vo.educationId==item.value?number>
								selected</#if>>${item.label}</option></#list>

					</select></td>
                    <td>
                </tr>         -->     
            </tbody>
        </table>
    </form>
</div>
<div class="bjui-pageFooter">
    <ul>
        <li><button type="button" class="btn-close" data-icon="close">取消</button></li>
        <li><button type="submit" class="btn-default" data-icon="save">保存</button></li>
    </ul>
</div>